<?php

use Illuminate\Database\Seeder;

class AffairtypesTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        

        \DB::table('affairtypes')->delete();
        
        \DB::table('affairtypes')->insert(array (
            0 => 
            array (
                'affairtypeid' => '100000',
                'affairtypename' => '基础信息管理',
                'affairtypedesc' => '基础信息管理',
                'sortnum' => 50,
                'isvisible' => '1',
                'path' => '/students',
                'iconcls' => 'layui-icon-user',
                'isleaf' => '1',
                'created_at' => '2020-02-04 12:23:38',
                'updated_at' => '2020-02-04 12:23:38',
            ),
            1 => 
            array (
                'affairtypeid' => '200000',
                'affairtypename' => '目标管理',
                'affairtypedesc' => '目标管理',
                'sortnum' => 50,
                'isvisible' => '1',
                'path' => '/targets',
                'iconcls' => 'layui-icon-survey',
                'isleaf' => '1',
                'created_at' => '2020-02-04 12:23:38',
                'updated_at' => '2020-02-04 12:23:38',
            ),
            2 => 
            array (
                'affairtypeid' => '300000',
                'affairtypename' => '支持服务管理',
                'affairtypedesc' => '支持与服务管理',
                'sortnum' => 50,
                'isvisible' => '1',
                'path' => '/supports',
                'iconcls' => 'layui-icon-app',
                'isleaf' => '1',
                'created_at' => '2020-02-04 12:23:38',
                'updated_at' => '2020-02-04 12:23:38',
            ),
            3 => 
            array (
                'affairtypeid' => '400000',
                'affairtypename' => '学生成长档案',
                'affairtypedesc' => '学生成长档案',
                'sortnum' => 50,
                'isvisible' => '1',
                'path' => '/archives',
                'iconcls' => 'layui-icon-template-1',
                'isleaf' => '1',
                'created_at' => '2020-02-04 12:23:38',
                'updated_at' => '2020-02-04 12:23:38',
            ),
            4 => 
            array (
                'affairtypeid' => '500000',
                'affairtypename' => '系统管理',
                'affairtypedesc' => '系统管理',
                'sortnum' => 50,
                'isvisible' => '1',
                'path' => '/systems',
                'iconcls' => 'layui-icon-set',
                'isleaf' => '0',
                'created_at' => '2020-02-04 12:23:38',
                'updated_at' => '2020-02-04 12:23:38',
            ),
        ));
        
        
    }
}